#!/usr/bin/bash

if [[ "" == $key ]] ; then
	bash ~/.sis/bin/sis-volume-help --info
	
	echo "Usage: sis-volume-volume [kEY [NUM]]

Try \`sis-volume --help\` for more information.
"
	exit
elif [[ "--name" == $key ||  "-n" == $key ]] ; then
	echo "sis-volume (SIS volume)"
	exit
elif [[ "--info" == $key ||  "-i" == $key ]] ; then
	bash ~/.sis/bin/sis-volume-help --name

	echo "info comands for control volume your dinamic"
	
	exit
elif [[ "--version" == $key ||  "-v" == $key ]] ; then
	bash ~/.sis/bin/sis-volume-help --name

	echo "version 0.0.0.1"
	exit
elif [[ "--help" == $key ||  "-h" == $key ]] ; then
	bash ~/.sis/bin/sis-volume-help --info

	echo "For help:
  -h, --help     display this help and exit	
  -v, --version  output version information and exit

Keys: inc dec  get  max min  mute  + -  =
    sis-volume inc   sis-volume + $step
    sis-volume dec   sis-volume - $steps
    
    sis-volume get

    sis-volume max   sis-volume = $max
    sis-volume min   sis-volume = $min

    sis-volume mute   volume mute

    sis-volume - <value>   > $MIN
    sis-volume + <value>   < $MAX

    sis-volume = <num>   $MIN .. <num> .. $MAX

Usage:
	sis-volume [kEY [NUM]]
"
	exit
fi

